<template>
	<!--
    	作者：1550495493@qq.com
    	时间：2019-07-24
    	描述：门户登录
    -->
	<div  class="Login">
		<div id="insitute-menu">
			<router-link to='/index'>
				<img src="../../images/home/logo.png" class="logo-img fl">
			</router-link>
		</div>
		<section id="Login" class="section-box">
			<div class="login-nav">
				<div class="login-box fr">
					<div class="tab-tit">
						<a href="javascript:;" @click="curId=0" :class="{'cur':curId===0}">平台账号登录</a>
						<a :href="urls.casUrl" >统一身份认证</a>
					</div>
					<div class="tab-con">
						<div v-show="curId===0">
							<input name="userAccount" v-model="loginData.userAccount" class="input-box" type="text" placeholder="请输入用户名" />
							<div class="user-img">
								<img src="../../images/login/user.png" />
							</div>
							<input name="userPassword" v-model="loginData.userPassword" class="input-box" type="password" placeholder="请输入密码" @keyup.enter="userLogin"/>
							<div class="pwd-img">
								<img src="../../images/login/pwd.png" />
							</div>
							<input @click="userLogin" class="input-box-btn" type="button" value="登录" />
							<p class="Forgot-password">
								<router-link to='/forgetPassword'><a>忘记密码</a></router-link>
							</p>
						</div>
						<!--<div v-show="curId===1">
							css
						</div>-->
					</div>
				</div>
			</div>
		</section>
		<footer>
			<p>Copyright© 2005 西南大学新农村发展研究院　All rights reserved. 网站备案号：渝ICP备05000267 站长信箱：ADMIN@CRIC.CN</p>
		</footer>
	</div>
</template>
<script src="./Login.js"></script>

<style scoped>
	@import "Login.css"
</style>
